<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ipb" uri="/WEB-INF/conf/tld/ipb.tld"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%@ page import="cn.agiledata.bank.common.util.WeatherUtil" %>
<%
	String path = request.getContextPath();
	String email = "";
	if (WeatherUtil.getLoingInfoFromSession(request) != null) {
		email = WeatherUtil.getLoingInfoFromSession(request).getAccount().getEmail();
		if (email == null) {
			email = "";
		}
	}
%><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<%=path%>/page/information/mobile/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/newstyle.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/common.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src='<%=path%>/js/vnv/commonForManage.js' ></script>
<script type='text/javascript'
	src='<%=path%>/dwr/interface/accountTemplate.js'></script>
<SCRIPT LANGUAGE="JavaScript" src="<%=path%>/page/information/js/js/f-menu.js"></SCRIPT>
<style type="text/css">
<!--
.chongzhialert {
width:490px;
}
-->
</style>
<SCRIPT LANGUAGE="JavaScript">
	// 提交校验
	function validate() {
		var objFrm = document.frmCharge;
		if(objFrm.email.value.trim() == "" 
			|| !checkEmail(objFrm.email)) {
			alert('请输入正确的Email');
			objFrm.email.focus();
			return false;
		}

	accountTemplate.confirmToRuleByGateway(${chargeValue},show);
	}
	function show(data){
	var objFrm = document.frmCharge;
	if("55"==data){
	   alert("违反每日交易限额");
	   return false;
	}
	if("05"==data){
	   alert("违反每月交易限额");
	   return false;
	}
	if("11"==data){
	   alert("违反单笔交易限额");
	   return false;
	}
	document.forms[0].submit();
	}
//-->
</SCRIPT>
<title>手机充值－</title>
</head>
<!-- 页头菜单 -->
<jsp:include page="/page/information/head.jsp?currentFunc=publicfee"/>
<!--主内容-->
<div id="content2">
<!-- 左侧菜单 -->
<jsp:include page="/page/barcodepay/left.jsp"/>
<form name="frmCharge" action="<%=path%>/page/information/chargeSubmit.do" method="post" >
<input type="hidden" name="chargeType" value="<bean:write name="chargeType" />" />
<input type="hidden" name="mobileNum" value="<bean:write name="mobileNum"/>"/>
<div class="content_right">
     <div class="path_info">   <img src="<%=path%>/page/information/images/home_icon.gif" />  <a href="<%=path%>/main.do" class="bluefont12">首页</a>>> <a href="#" class="bluefont12">手机充值</a></div>
	 <div class="public_intro"><span class="backfont14t">手机充值</span></div>
	 <div class="public_textT backfont14t">手机号码：<bean:write name="mobileNum"/> </div>
	 <div class="public_itemList">
	 	<ul><li class="allli">支付金额：<span class="text14bred" id="payAmount"><bean:write name="chargeValue" /></span> 元     <span class="alllired">登陆平台,您将享受更优惠的价格.心动不如立即行动!</span> <a href="<%=path%>/main.do">点击此处登陆平台>> </a></li>
	 	</ul>
     </div>
	  <div class="public_moblie">
	 	<ul><li class="moblieli">当前优惠价格为<span class="fontred"><bean:write name="chargeValue" />元 
		充值<ad:TypeChange typeId="MOBIL_CHARGE_TYPE"><bean:write name="chargeType" /></ad:TypeChange></span>；本充值已是优惠充值，故不参加当地移动活动。 <br />
将在<span class="fontred">96小时</span>(节假日顺延)内帮您完成充值！</li>
	   </ul>
     </div>
	 <div class="public_moblie2">
	 	<ul>
		<li class="moblielli">请填写您的电子邮箱：<br />
		<input name="email" type="text" class="inputStyleNoborder" size="35" maxlength="50" style="background:#F6F6F6;" value="<%=email%>" readonly/>  
		</li>
		<li class="moblierli">包含此次交易信息的支付凭证将发送到您填写的邮箱中，请注意保管！
想找到更多购物优惠吗？成功注册账户就可以办到！<a href="<%=path%>/toRegister.do" target="_blank" class="bluefont12b">我要注册</a>
</li>
	   </ul>
     </div>
	 <div style="clear:both"></div>
	 <div><table width="100%" border="0" align="center" cellpadding="7" cellspacing="1" bgcolor="#f9e277" style="margin:10px 0;">
        <tr>
          <td bgcolor="#fffdf5"><table width="100%" border="0" cellpadding="3" cellspacing="0">
              <tr >
                <td width="3%" height="25" valign="top" style="border-bottom:1px solid #ccc;"><img src="<%=path%>/images/ren.gif" width="22" height="21" border="0" align="absmiddle" /></td>
                <td width="97%" align="left" class="fontred" style="border-bottom:1px solid #ccc;">特别提醒</td>
              </tr>
              <tr>
                <td valign="top">&nbsp;</td>
                <td align="left" class="font_gray"><img src="<%=path%>/images/arrow2.gif" width="16" height="16" align="absmiddle" /> <span class="fontnormal">本充值产品是面向众多用户提供的专属服务。如发现任何用户利用此产品牟取利益，我们将取消该用户享受此服务的资格！</span></td>
              </tr>
          </table></td>
        </tr>
      </table></div>
	 <div class="public_input"> 
	<logic:notPresent name="sessionAccountSummary">
		<input name="buttonReturn" type="button" class="public_button" value="重新输入手机号码" onClick="location='<%=path%>/page/information/chargeSelect.do'" />
	</logic:notPresent>
	<logic:present name="sessionAccountSummary">
		<input name="buttonReturn" type="button" class="public_button" value="重新输入手机号码" onClick="location='<%=path%>/route.do?modual=space'" />
	</logic:present>
	 <input name="buttonPay" type="button" class="public_button" value="到页面付款" onclick="validate()"/></div>

  </div>
   <div style="clear:both"></div>

</div>
   </form>
<!-- 页尾菜单 -->
<jsp:include page="/page/information/foot.jsp"/>

</body>
</html>